package com.manager.system.service;

import com.manager.common.vo.PageVO;
import com.manager.model.System_Permission;
import com.manager.model.System_User;
import net.sf.json.JSONArray;

import java.util.List;
import java.util.Map;

public interface UserService {

    public PageVO getUserMap(System_User user);

    public void addUser(System_User model) throws Exception;

    public void updateUser(System_User model) throws Exception ;

    public JSONArray getUserJSONArray();

    public JSONArray getMenuTree(System_User model);

    public void deleteUser(System_User model);

    public void updateUserPwsd(System_User model);

    public JSONArray getUserArray();

    public System_User getUser(System_User model);

    public void addRemoteUser(System_User model,JSONArray orgCodes);

    public void updateRemoteUser(System_User model,JSONArray orgCodes);

    public System_User getUser(String id);

    public List<System_User> getSystemUserList();

    public List<System_Permission> getSystemPermissionList(String name);
}
